package com.yonyougov.devops.cruxcisupport.app.dto;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("修改应用请求")
public class UpdateAppRequestDto extends BaseRequestDto {
    @NotNull
    @ApiModelProperty(required = true, value = "应用主键")
    private BigInteger id;
    @ApiModelProperty(value = "应用名称")
    private String app;
    @ApiModelProperty(value = "应用描述")
    private String remark;
    @ApiModelProperty(value = "应用服务根路径")
    private String contextPath;
    @ApiModelProperty(value = "应用序列号")
    private String serialNumber;
    @ApiModelProperty(value = "健康检查")
    private String healthCheckPath;
    @ApiModelProperty(value = "是否暴露端口")
    private Boolean exposePort;
    @ApiModelProperty(value = "领域")
    private String domain;
    @ApiModelProperty(value = "普罗米修斯监控路径")
    private String actuatorUrl;

}
